package com.xy.service.impl;

import com.xy.mapper.ScreenMapper;
import com.xy.service.ScreenService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;
import java.util.List;

@Service
@AllArgsConstructor
public class ScreenServiceImpl implements ScreenService {
	ScreenMapper screenMapper;

	@Override
	public LinkedHashMap<String, Object> getdynamicQuery(String sql) {
		return screenMapper.getdynamicQuery(sql);
	}

	@Override
	public List<LinkedHashMap<String, Object>> getListdynamicQuery(String sql) {
		return screenMapper.getListdynamicQuery(sql);
	}
}
